package com.itsq.service.resources;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itsq.pojo.dto.PageCarDto;
import com.itsq.pojo.dto.PageCompanyDto;
import com.itsq.pojo.entity.Car;
import com.itsq.pojo.entity.Company;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 史先帅
 * @since 2021-01-29
 */
public interface CompanyService extends IService<Company> {

    public Page<Company> selCompanyPageFront(PageCompanyDto pageCompanyDto);

    public Page<Company> selCompanyPageAfter(PageCompanyDto pageCompanyDto);

    public List<Company> selCompanyList();

    public Company selCompanyId(Integer id);

    public Integer insert(Company company);

    public Integer update(Company company);

    public Integer delete(Integer id);
}
